# -*- coding: utf-8 -*-
##
## This file is part of the django-oidauth project.
##
## Copyright (C) 2009 Filippo Santovito <http://mementomori.myvidoop.com/>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License version 3 as
## published by the Free Software Foundation;
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
##

from django.conf.urls.defaults import patterns, url
from django.contrib.auth.views import logout

from oidauth.views import signin, provider_response, profile

urlpatterns = patterns('',
    url(r'^signin/', signin, name='oidauth_signin'),
    url(r'^profile/', profile, name='oidauth_profile'),
    url(r'^provider_response/', provider_response, name='oidauth_response'),
    url(r'^signout/', logout, {'next_page' :'/account/signin'}, name='oidauth_signout'),
)
